var should = require('should');
var sweepHandler = require('../../../app/servers/rebel/handler/sweepHandler');
var config = require('../../config');

suite('测试sweepHandler', function () {
    suite('sweep', function () {
        test('进入副本', function (done) {
            var msg = {
                rebel_id: 2001
            };
            var session = {};
            session.uid = config.other_role_id;

            var sweep_Handler = new sweepHandler();
            sweep_Handler.sweep(msg, session, function (err, res) {
                // res.code.should.equal(19002);
                done();
            });
        });
    });
});
